package org.okeoe.gen.entity;


import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.okeoe.gen.base.BaseEntity;

import javax.persistence.Column;
import javax.persistence.Table;
import javax.validation.constraints.NotBlank;

/**
 * @Title: 模板分组实体
 * @author dj
 * @date 2019-10-28 14:08:44
 * @version V1.0
 *
 */
@Data
@Table(name = "CG_GROUP")
@EqualsAndHashCode(callSuper = false)
public class CgGroupEntity extends BaseEntity {

	/**模板名称*/
    @NotBlank(message="模板名称不能为空!")
    @ApiModelProperty(value = "模板名称",name ="name")
	private String name;
    /**
     * 项目路径
     */
    @Column(name = "PROJECT_PACK")
    private String projectPack;
	/**备注*/
    @Column(name = "GROUP_NOTE")
    @ApiModelProperty(value = "备注",name ="groupNote")
	private String groupNote;


}